@extends('layouts.app')


@section('content')

<div class="container">
    <div class="row content-center">

        <div class="col-3">
            @include('components.user_left')
        </div>

        <div class="col-9">

            <div class="card" style="word-wrap: normal;">
                <div class="card-header">
                    直播设置
                </div>
                <div class="card-body">
                    <div class="card-body">
                        <div class="card-body alert-warning">
                            <blockquote class="blockquote mb-0">
                                <p>您要开通直播间吗？</p>
                                <footer class="blockquote-footer">直播指引<cite title="Source Title"><a href="{{ route('help') }}">《视频直播使用帮助》</a></cite></footer>
                            </blockquote>
                        </div>
                    </div>

                    <div class="card-body">
                    <form class="text-center" action="createLive" method="post">
                        @csrf
                        <input type="hidden" name="user_id" value="{{$user_id}}">
                        <button type="submit" class="btn btn-warning" style="width:350px;height: 200px;font-size:48px;font-weight: bolder; color:#FFF; background-color: #eb9316;">开通直播</button>
                    </form>
                    </div>
                </div>
            </div>
        </div>

    </div>




    <script type="text/javascript">


        $(document).ready(function(){
        });

        $('#mySwitch').on('switch-change', function (e, data) {
            var $el = $(data.el)
                , value = data.value;
            console.log(e, $el, value);
        });
    </script>

@endsection



